package com.dog.modules.system.convert;

import com.dog.modules.system.domain.SysPost;
import com.dog.modules.system.api.vo.SysPostVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysPostConvert {
    SysPostConvert INSTANCE = Mappers.getMapper(SysPostConvert.class);

    SysPostVO convert(SysPost entity);

    SysPost convert(SysPostVO vo);

    List<SysPostVO> convertList(List<SysPost> list);

}
